package cn.apienvrypt.annotation;

import java.lang.annotation.*;

import org.springframework.context.annotation.Import;

import cn.apienvrypt.advice.EncryptRequestBodyAdvice;
import cn.apienvrypt.advice.EncryptResponseBodyAdvice;
import cn.apienvrypt.config.SecretKeyConfig;

/**
 * @author lfj
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
@Import({SecretKeyConfig.class,
	EncryptResponseBodyAdvice.class,
	EncryptRequestBodyAdvice.class})
public @interface EnableSecurity {

}
